<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/layouts/taglib.jsp" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>友情链接详情</title>
    <%@include file="/WEB-INF/layouts/detail-header.jsp" %>
</head>
<body>

<div class="tpanel">
    <div class="panel-content">
        <div class="container-fluid">

            <form id="createForm" class="form-horizontal">
                <div class="form-group form-group-first">
                    <label class="col-sm-2 control-label">Logo</label>
                    <div class="col-sm-4">
                        <div class="text-center thumbnail">
                            <c:choose>
                                <c:when test="${entity.logoUrl != null}">
                                    <img src="${ctx}${entity.logoUrl}" class="img-responsive"
                                         style="max-height: 300px;">
                                </c:when>
                                <c:otherwise>
                                    <img src="${staticPath}/upload/default-header.jpg" class="img-responsive"
                                         style="max-height: 300px;">
                                </c:otherwise>
                            </c:choose>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">名称</label>
                    <div class="col-sm-8">
                        <label class="control-label detail-label">
                            ${entity.name}
                        </label>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">描述</label>
                    <div class="col-sm-8">
                        <label class="control-label detail-label">
                            ${entity.description}
                        </label>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">URL</label>
                    <div class="col-sm-8">
                        <label class="control-label detail-label">
                            ${entity.url}
                        </label>
                    </div>
                </div>
            </form>

        </div>
    </div>
</div>
</body>
</html>
